package com.liyuxiang.feign.controller;

import com.liyuxiang.feign.client.DeptClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author: liyuxiang
 * @Date: 2025/8/22 14:32
 * @Description: TODO
 */
@RestController()
@RequestMapping("test")
public class TestController {
    @Autowired
    DeptClient deptClient;

    @GetMapping("")
    public String test() {
//        List<String> deptList = deptClient.getDeptList();
//        System.out.println(deptList);
        return "";
    }
}
